package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.OrderComment;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface OrderCommentMapper extends Mapper<OrderComment> {
    List<OrderComment> getCommentByShopId(@Param("shopId") Integer shopId);

    List<OrderComment> findComments(@Param("foodId") Integer foodId);
}
